package com.smartwebx.fr.dao.mysql;

import org.apache.ibatis.annotations.Select;

import com.smartwebx.fr.bean.mysql.PageChart;

public interface PageChartMapper {
	int deleteByPrimaryKey(String id);

	int insert(PageChart record);

	int insertSelective(PageChart record);

	PageChart selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(PageChart record);

	int updateByPrimaryKey(PageChart record);

	@Select("select count(chart_id) from page_chart where chart_id=#{chartId}")
	Boolean checkChartIdExist(String chartId);
}